package miage.rest;

/**
 * Clase de base de configuration  de l'application
 *
 * @author Schwartz Michaël
 */
public class Configuration {

	private String dbUrl;
	private String dbUser;
	private String dbPassword;
	private String dbDriverClassName;

	private String mailSmtpHost = "localhost";
	private int mailSmtpPort = 25;
	private String mailSmtpUser;
	private String mailSmtpPassword;

	private int listenPort = 8182;

	private String adminPassword;

	public String getDbPassword() {
		return dbPassword;
	}

	public String getDbUrl() {
		return dbUrl;
	}

	public String getDbUser() {
		return dbUser;
	}

	public int getListenPort() {
		return listenPort;
	}

	public void setDbPassword(String dbPassword) {
		this.dbPassword = dbPassword;
	}

	public void setDbUrl(String dbUri) {
		this.dbUrl = dbUri;
	}

	public void setDbUser(String dbUser) {
		this.dbUser = dbUser;
	}

	public void setListenPort(int listenPort) {
		this.listenPort = listenPort;
	}

	public String getDbDriverClassName() {
		return dbDriverClassName;
	}

	public void setDbDriverClassName(String dbDriverClassName) {
		this.dbDriverClassName = dbDriverClassName;
	}

	public int getMailSmtpPort() {
		return mailSmtpPort;
	}

	public void setMailSmtpPort(int mailSmtpPort) {
		this.mailSmtpPort = mailSmtpPort;
	}

	

	public String getMailSmtpHost() {
		return mailSmtpHost;
	}

	public void setMailSmtpHost(String mailSmtpHost) {
		this.mailSmtpHost = mailSmtpHost;
	}

	public String getMailSmtpPassword() {
		return mailSmtpPassword;
	}

	public void setMailSmtpPassword(String mailSmtpPassword) {
		this.mailSmtpPassword = mailSmtpPassword;
	}

	public String getMailSmtpUser() {
		return mailSmtpUser;
	}

	public void setMailSmtpUser(String mailSmtpUser) {
		this.mailSmtpUser = mailSmtpUser;
	}

	public String getAdminPassword() {
		return adminPassword;
	}

	public void setAdminPassword(String adminPassword) {
		this.adminPassword = adminPassword;
	}

	

}
